//
//  CountryDetailImageView.m
//  hai游～
//
//  Created by jakf_17 on 15/5/22.
//  Copyright (c) 2015年 jakf_17. All rights reserved.
//

#import "CountryDetailImageView.h"

@implementation CountryDetailImageView


- (void)dealloc
{
    [_nameLabel release];
    [_likeLabel release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createLabel];
    }
    return self;
}
- (void)createLabel
{
    self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(12, 190 - 60, 200, 35)];
    _nameLabel.font = [UIFont systemFontOfSize:23];
    _nameLabel.backgroundColor = [UIColor clearColor];
    _nameLabel.textColor = [UIColor whiteColor];
    [self addSubview:_nameLabel];
    [_nameLabel release];
    self.likeLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 190 - 20, 200, 15)];
    _likeLabel.font = [UIFont systemFontOfSize:10];
    _likeLabel.backgroundColor = [UIColor clearColor];
    _likeLabel.textColor = [UIColor whiteColor];
    [self addSubview:_likeLabel];
    [_likeLabel release];
}

@end
